package com.matthew.luckyone.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description: 测试新增的API接口
 * @Author: matthew
 * @Date: 2022/11/5 12:12
 */
@RestController
@RequestMapping("/test")
public class TestController {

    /**
     * 测试API 接口
     * 返回 requestValue + Matthew
     */
    @GetMapping("/test")
    public String addClazz(@RequestParam("test") String abc) {
        return abc + "Matthew";
    }
}
